php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#148706 - 11/26/01 12:13 PM [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Ok I am going to release this hack. It's is a views counter that works with the cache, but does not work with the accelerator. It is VERY BETA, I warn you up front, so don't scream and yell if it doesn't work perfect. In fact, if you are not comfortable installing BETA hacks, don't install this at all. With those things in mind, download the hack below. This hack was based off of JB007's original hack for 6.0x.

Download
Views Counter 5.0 [BETA]

Demo
http://www.vhforums.com

<font color="#000000" size="1">[ 11-28-2001 06:18 PM: Message edited by: Slurpee ]</font>
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148707 - 11/26/01 12:25 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thanks Slurpee... if you used JB's from before and upgraded to this one, would the counts form the old one remain?
_________________________
- Allen wavey
- What Drives You?

Top
#148708 - 11/26/01 12:37 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Yep did on mine.
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148709 - 11/26/01 04:09 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
Is there a way to keep the date and time of when the thread was started? Took alook at your site and think this is going to be another one of those must haves!
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#148710 - 11/26/01 04:22 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
I don't think I have that anywhere, I just have the last time the topic was replied to on the topic page. What am I missing? Where are you looking?
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148711 - 11/26/01 04:26 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
I took a look at your site vs my development site. Mine also has along with the user, the date and time the thread started.

My develoment site:
www.pwrhouse.com/cgi-bin/ultimatebb.cgi
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#148712 - 11/26/01 04:36 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
I see what you're talking about. Yes you have that on your Topics Display, I don't. So now what's the question you're asking? <img src="smile.gif" border="0" alt="" />
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148713 - 11/26/01 05:24 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
To also include the date and time stamps of when the thread started <img src="smile.gif" border="0" alt="" />
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#148714 - 11/26/01 05:48 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Oh you mean as part of this Views Counter thing?
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148715 - 11/26/01 08:36 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
Yeppers <img src="biggrin.gif" border="0" alt="" />
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#148716 - 11/26/01 08:57 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
I'm a little confused in ubb_forum.cgi part.

Quote:
quote:


but i already have the who's online code there. Do i skip over this step if i do er...what?

Top
#148717 - 11/26/01 09:54 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
It works fine with me. There is an error in the code I think you should add a "}" in this code
Code:
code:

it should be
Code:
code:

another thing if you have last replay by hack instald you should change this
Code:
code:

to be
Code:
code:

I am not sour about the last step because I have added a colomin for this hack in the form page
I am using v6.1.0.3

Top
#148718 - 11/26/01 09:56 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
Oh I forget
Thank you very much for this hack I rely need it in my form

Top
#148719 - 11/27/01 12:06 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Code:
code:


<font color="#000000" size="1">[ 11-27-2001 12:08 AM: Message edited by: Slurpee ]</font>
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148720 - 11/27/01 12:10 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Quote:
quote:


Thanks made the fix. With regards to placement because of other hacks....There is no way for me to make a bunch of different variations of this hack with all the possible layout changes and hacks people have added. You will have to have some understanding of placing variables in the public_forum_page.pl template if you have a bunch of different hacks that are affecting placement of the $v_counter variable.
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148721 - 11/27/01 01:04 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
KLoWn Offline
Member

Registered: 06/27/01
Posts: 45
I do BEG you please make it compatible with qasics hacks. Whois online. I am sure qasic will help if you ask <img src="smile.gif" border="0" alt="" /> He is a heck of a guy (when you can get him to respond to ya LoL)

Anyway if it is compatibale with popular hack it would be nice. Anyone who finds out what it is compatible with should list them so you know what hacks cause problems. That way when people ask you can tell them that it is compatible with or not any particular hack.. (Less problems for you the DEV if you know what works and what doesn't)

Anyways this is only a suggestion...

Top
#148722 - 11/27/01 01:15 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Variables Offline
Member

Registered: 12/03/00
Posts: 350
In this part the v_counter with hypercells in public_forum_page.pl:

<td nowrap="nowrap" valign="top" bgcolor="$alt_color" align="left" $alt_HyperCells$HyperCellPath>
<font size="1" face="$vars_style{FontFace}">
$TheDate</font> <font size="1" face="$vars_style{FontFace}" color="$vars_style{TimeColor}">$last_time</font>
<font size="1" face="$vars_style{FontFace}">$last_post_username</font> $v_counter</td>

This was crushing the tables. <img src="frown.gif" border="0" alt="" />
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#148723 - 11/27/01 05:28 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
dreamer Offline
Member

Registered: 02/02/01
Posts: 112
Can anyone tell us if this mod worked with Hypercells and Last reply ? It will be great if he tell us the code we must change in public_forum.pl

Oh and dont forget
Great job Slurpee

Top
#148724 - 11/27/01 07:26 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
M@RCOS Offline
Member

Registered: 11/16/01
Posts: 31
Loc: SAO paulo
please she can help I thank. in the control panel after me updating appears the following message: You did not completes all required fields.
You did not completes: count_views
(and these options don't exist for me to change.)
_________________________
M@RCOS

Top
#148725 - 11/27/01 10:57 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Quote:
quote:


It works with Who's Online just fine, as documented in the instructions. If somebody wants to document which hacks it works with and let me know, then that's fine, but I am not running a lot of hacks, so I don't know. I mean it should work with EVERY hack, it might just be a matter of where code needs to be placed in public_forum_page.pl, depending on your board's layout. Also you can look at my board an the stuff I am running, and get a good idea of what things it works with.

<font color="#000000" size="1">[ 11-27-2001 11:08 AM: Message edited by: Slurpee ]</font>
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148726 - 11/27/01 11:10 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Quote:
quote:


You didn't hack CP_VARS_MISC.PL properly. Re-check that part and make sure you did it right, you should have a radio button to the turn the views on and off in Miscellaneous Settings.
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148727 - 11/27/01 11:17 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Quote:
quote:


Have no clue about Hypercells, I don't use it. if someone wants to document it, feel free and I'll throw it in the directions. As far as the Last Reply hack goes, it works fine with that. It's just a matter of where you want to place the $v_counter variable in public_forum_page.pl.
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148728 - 11/27/01 04:04 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
dreamer Offline
Member

Registered: 02/02/01
Posts: 112
Slurpee can you tell mw how to do the cells like your forums

For example Topic Starter - Replies and Views together and The last post alone

Thanks

Top
#148729 - 11/27/01 05:59 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
I could tell you, but then I'd have to kill you. <img src="smile.gif" border="0" alt="" />

It's not complicated, just takes A LOT of patience, and editing of public_forum_page.pl and ubb_forum.cgi in places. There are so many different format changes I made to do that, it would be almost impossible to point them all out.
The basics are just to move variables around in public_forum_page.pl.

<font color="#000000" size="1">[ 11-27-2001 06:00 PM: Message edited by: Slurpee ]</font>
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148730 - 11/28/01 11:18 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
dreamer Offline
Member

Registered: 02/02/01
Posts: 112
Quote:
quote:


You better kill me <img src="smile.gif" border="0" alt="" />

Top
#148731 - 11/30/01 10:39 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Cuzz Offline
Spotlight Runner-Up

Registered: 05/23/01
Posts: 27
Loc: City of Compton
works great - we moved it to it's own column.

Take a look: http://www.planethex.com/cgi-bin/ultimatebb.cgi

<img src="tongue.gif" border="0" alt="" />

Top
#148732 - 11/30/01 11:09 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
It's looking good slurpee smile
_________________________
- Allen wavey
- What Drives You?

Top
#148733 - 11/30/01 11:38 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
hothitradio_com Offline
Junior Member

Registered: 10/19/01
Posts: 20
Slurpie, im using the Who's Online PHP version, (not accelerator tho) and in ubb_forum.cgi where u say replace:

Code:
code:


its different for php version...

i have:

Code:
code:


what do i change <img src="frown.gif" border="0" alt="" />

Thankyou

Top
#148734 - 12/01/01 03:02 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
freeTV Offline
Member

Registered: 04/25/01
Posts: 224
It works fine with HyperCell 3.0, as is. No need to alter anything.

Thnx Slurpee for a good hack!

Quote:
quote:

Top
#148735 - 12/01/01 07:12 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
hothitradio_com Offline
Junior Member

Registered: 10/19/01
Posts: 20
i just dont get it <img src="confused.gif" border="0" alt="" />

I did the hack - several times over, and on the forum topics page i get 2 lots of the page displayed! eg, i get the normal page, then the exact same underneath it!

please help

Top
#148736 - 12/02/01 07:37 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
dreamer Offline
Member

Registered: 02/02/01
Posts: 112
Quote:
quote:


me too having exact the same problem

Top
#148737 - 12/02/01 07:46 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
darkm00n Offline
Junior Member

Registered: 05/27/01
Posts: 20
same for me... all things appear twice on the boards after installing this hack.

I noticed also something... on public_forum_page.pl i don't have what you say on instructions... i have:

Code:
code:


what could this be?

BR

Code:
quote:</font><hr>Originally posted by hothitradio_com:
[b]i just dont get it    <img src="confused.gif" border="0" alt="" />  

I did the hack - several times over, and on the forum topics page i get 2 lots of the page displayed! eg, i get the normal page, then the exact same underneath it!

please help[/b]<hr></blockquote>

<blockquote><font size="1" face="Verdana, Helvetica, Arial">code:

Top
#148738 - 12/02/01 10:44 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
freeTV Offline
Member

Registered: 04/25/01
Posts: 224
hothitrado, dreamer, and darkm:

Look into the file "ubb_forum.cgi".

#### FIND: #######

&processVIEW($ThisHTML);
}
print "$ThisHTML";

#### CHANGE IT TO: ######

&processVIEW($ThisHTML);
}

#### FIND ####

&processVIEWS($_);
}
print;

#### CHANGE IT TO: ######

&processVIEWS($_);
}


<font color="#000000" size="1">[ 12-02-2001 10:46 AM: Message edited by: freeTV ]</font>

Top
#148739 - 12/02/01 12:42 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
dreamer Offline
Member

Registered: 02/02/01
Posts: 112
Thanks FreeTv

I did what you told me and I dont have this problem anymore .

The new problem is that the counter is not refreshing. I have to clear the cache everytime if I want to see the real number of the counter.

Can you give me any hint?

Also in the readme file of this mod says that If I have installed the whosonline mod I should add some things and some others if I dont have this mod.
I have it installed and I dont get if I have to do this step

Look for this:
print "$ThisHTML";

Replace that with:
if ($vars_misc{count_views} ne 'no') {
&processVIEWS($ThisHTML);
}

Top
#148740 - 12/02/01 01:21 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
RANCH4x4 Offline
Member

Registered: 09/09/01
Posts: 227
Loc: Louisiana, USA
Will this hack be made compatible with the accelerator and who's online once most of the bugs are out?

Top
#148741 - 12/02/01 05:05 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
freeTV Offline
Member

Registered: 04/25/01
Posts: 224
Dreamer,

You have to do that step and comment out (or delete) any print statment immediately below it.

Top
#148742 - 12/04/01 12:19 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
hothitradio_com Offline
Junior Member

Registered: 10/19/01
Posts: 20
hmm... installed the hack, did what freeTV said a few posts ago (coz i have who's online installed) and its working now, well, kinda!...

It's counting the views, but its counting the wrong topics!!...eg, i goto the 4th topic in a forum, and it adds the count onto the 5th one! confused

Top
#148743 - 12/04/01 01:05 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
freeTV Offline
Member

Registered: 04/25/01
Posts: 224
looks like you have &processVIEWS($ThisHTML); in the wrong loop.

Top
#148744 - 12/04/01 01:34 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
hothitradio_com Offline
Junior Member

Registered: 10/19/01
Posts: 20
what do u mean please <img src="smile.gif" border="0" alt="" />

Top
#148745 - 12/04/01 02:25 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
freeTV Offline
Member

Registered: 04/25/01
Posts: 224
Rehack your ubb_forum.cgi
If you can't solve it, send me the file. I'll take a look.

Top
#148746 - 12/04/01 02:39 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Allen - Really haven't done anything, just have a shared plan from Hosting4less.com. Never a problem, board always run smooth, despite its size. Perhaps I'm just lucky...lol...I doubt it.

I do have some code that will make this work with the accelerator, but until I am comfortable everyone has the non-accelerator version running without problems, I am not going to release the accelerator code. Once the bugs have been fixed, then I will. It does already work with Who's Online, not the PHP version though.

So who is still having problems, I see freeTV has been helping out with some troubleshooting. Who still can't get it working right?

<font color="#000000" size="1">[ 12-04-2001 03:18 PM: Message edited by: Slurpee ]</font>
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148747 - 12/04/01 02:42 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Sounds cool Slurpee smile
_________________________
- Allen wavey
- What Drives You?

Top
#148748 - 12/04/01 02:59 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
hothitradio_com Offline
Junior Member

Registered: 10/19/01
Posts: 20
freeTV - i've re-hacked ubb_forum.cgi several times - it still adds the view count onto the wrong topic! i have e-mailed you the file, would u mind taking a look please?

tia, james <img src="smile.gif" border="0" alt="" />

Top
#148749 - 12/05/01 10:03 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
dreamer Offline
Member

Registered: 02/02/01
Posts: 112
Thanks FreeTV for your help. Problem solved <img src="biggrin.gif" border="0" alt="" />

Top
#148750 - 12/05/01 01:33 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
hothitradio_com Offline
Junior Member

Registered: 10/19/01
Posts: 20
I still have the problem: it's showing the view count in the wrong forum - eg, if you view the 3rd forum its adding the count to the 4th! pls pls help <img src="frown.gif" border="0" alt="" />

ty, james

Top
#148751 - 12/08/01 08:31 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
hothitradio_com Offline
Junior Member

Registered: 10/19/01
Posts: 20
thankyou so much freeTV - i got it working just perfect.

smile

Top
#148752 - 12/08/01 06:27 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
question, is there a bug on line #176 of the instructions with this?:

# delete the counter file
unlink("$vars_config{NonCGIPath}/$exact_path/v_counters/$in{t}.counter.pl");f

Is that f supposed to be on the end of that line?
_________________________
- Allen wavey
- What Drives You?

Top
#148753 - 12/09/01 08:10 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
hothitradio_com Offline
Junior Member

Registered: 10/19/01
Posts: 20
hmm im not sute either - all i know is it works whether or not its present as the ); cancels it out anyway <img src="smile.gif" border="0" alt="" />

Top
#148754 - 12/09/01 03:14 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Yeah, it seems to work well with the f there <img src="smile.gif" border="0" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#148755 - 12/11/01 03:58 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
How close is this hack to working with the accelerator?

Before I did my upgrade, I had a hit hack, and I'd really love to have one again when I open up the board again.

I was working on the "hit hack" when I encountered a problem with code, and FreeTV pointed me in this direction.
_________________________
Sue
adwoff.com

Top
#148756 - 12/11/01 10:50 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
actfact Offline
Member

Registered: 12/02/01
Posts: 48
got this working with no problem. . though i don't like the default style of it; it spaces out threads too much, but that's all matter of preference and it actually inspired me to figure out how to edit public_forum_page.pl and give "views" its' own column! woohoo!

thanks

Top
#148757 - 12/13/01 02:56 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
todd evans Offline
Junior Member

Registered: 12/11/01
Posts: 4
Loc: San Diego, CA
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by actfact:
...and give "views" its' own column! woohoo!
thanks
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">

Can you post the column mod?

Thanks,

-Todd

Top
#148758 - 12/13/01 06:19 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
todd evans Offline
Junior Member

Registered: 12/11/01
Posts: 4
Loc: San Diego, CA
UBB v6.1.0.3

Good job, Slurpee! This mod works great!

Here's a couple problems I found with the installation procedures.

1. The wordlets mod included with the views package appears to be incomplete. I installed the wordlets mod included with the Who's Online? Beta 2 This one installed flawlessly using ultimatebb_mod_wordlets_install.cgi.

2. The Who's online conflict instructions were incomplete. There were two "print" statements that needed to be commented out in UBB_FORUM.CGI to prevent cached items from being displayed multiple times.

The following 'prints' should be commented out if you have Who's Online installed.

sub get_forum {

...

# get from cache, if it exists...

...

# comment out this print
print;

...

# comment out this print
print "$ThisHTML";

}

Finally, I implemented a column "Views" format. To see the "views" mod in action:

http://www.poetsofzwan.com/cgi-bin/ubb/ultimatebb.cgi

Top
#148759 - 12/13/01 02:07 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Variables Offline
Member

Registered: 12/03/00
Posts: 350
???

I get this: views::

It doesn't count the views. <img src="frown.gif" border="0" alt="" />

<font color="#000000" size="1">[ 12-13-2001 02:08 PM: Message edited by: Variables ]</font>
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#148760 - 12/13/01 04:51 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
So, can anyone please rearrange all the stuff and move it to the next beta release?

Top
#148761 - 12/15/01 04:12 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
woohoo! done with the column view myself too!

thx a lot!

<font color="#000000" size="1">[ 12-15-2001 08:22 PM: Message edited by: q_ware ]</font>

Top
#148762 - 12/27/01 08:46 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
::DOC:: Offline
Junior Member

Registered: 12/27/01
Posts: 4
Nevermind I solved the problem...continue the good work.


Thanks
DOC

<font color="#000000" size="1">[ 12-27-2001 08:47 PM: Message edited by: ::DOC:: ]</font>

Top
#148763 - 12/27/01 10:09 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
::DOC:: Offline
Junior Member

Registered: 12/27/01
Posts: 4
for those of you that want the views in a different section/column use this code for the PUBLIC_FORUM_PAGE.PL Template instead.

Find (Note your may defer if you have Last Reply hacked in)
Code:
[/code]

[b]Insert After[/b] (   Note that where you put this will be the place where a new column will appear I placed it after replies and before last post)
[code]



Your next step will be to place the data where its suppose to be:

Find ( Note this may be different)
Code:
[/code]

[b]Insert After[/b] (   This must correspond to where you place the column in the step above this)
[code]



You are done..upload the template and if you have to clear you cache.


DOC

<font color="#000000" size="1">[ 12-27-2001 10:16 PM: Message edited by: ::DOC:: ]</font>

Top
#148764 - 12/28/01 11:50 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
theagent Offline
Junior Member

Registered: 06/01/01
Posts: 1
works like a charm!

Top
#148765 - 01/06/02 08:46 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
Yes, the Hack works, but I have a question:

I use UBBNews 2.0 hack to. I must switch off the cache to bring the scripts to work´or the news will be stucked old and notrefreshed. I use UBB 6.05 and the news hack a long time and it works with cache. Now I update to 6.1.0.3 and put in several other updated hacks. This view coutner is the ony real new one for me. Anyone who use both hacks without problems ?
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#148766 - 01/07/02 03:57 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
GRIDLOCK Offline
Junior Member

Registered: 01/04/02
Posts: 9
Loc: Toms River, New Jersey USA
Does caching need to be turned off for the views counter to be accurate?

Thanks
Ron

Top
#148767 - 01/07/02 03:58 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
GRIDLOCK Offline
Junior Member

Registered: 01/04/02
Posts: 9
Loc: Toms River, New Jersey USA
I answered my own question <img src="smile.gif" border="0" alt="" />

Top
#148768 - 02/25/02 03:42 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
BigMrC Offline
Member

Registered: 11/09/01
Posts: 69
slurpee does this work with 6.2.1 and phpAccel ?
If not where would I get a hit hack that does ?
thanks

Top
Page 1 of 4 1 2 3 4 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks